package com.lap.auth.application.user.command;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

@Data
@Schema(description = "更新管理员状态命令")
public class UpdateStatusCmd {

  @Length(max = 128, message = "{user.remark.max.length}")
  @Schema(description = "更新状态备注")
  private String remark;

  @Range(min = 0, max = 2147483647, message = "{user.version.range}")
  @Schema(description = "版本")
  private Integer version;
}
